import java.awt.*;
import java.awt.image.*;

class Map
{
	String mapName;
	ScrollingImage bgImage1, bgImage2, bgImage3;
	
	Map(String mapName, BufferedImage bgImage1) { 
		// setup Map
		this.mapName = mapName;
		this.bgImage1 = new ScrollingImage(bgImage1, 250);
	}
	
	public ScrollingImage getImage() {
		return bgImage1;
	}
	
	public void draw(Graphics g) {
		bgImage1.draw(g);
	}
	
	public void update(double elapsedTime) {
		bgImage1.update(elapsedTime);
	}
}
